package com.ctshk.rpc.localfun.enums;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/6/7
 */
public enum LocalFunSortType {
    SALE_LOW(1, "销量-低到高"),
    SALE_HIGH(2, "销量-高到低"),
    PRICE_LOW(3, "价格-低到高"),
    PRICE_HIGH(4, "价格-高到低"),
    ASC(1,"升序"),
    DESC(2,"倒序"),
    BEFORE(1,"价格先查询"),
    AFTER(2,"销量先查询");

    private Integer code;
    private String name;

    LocalFunSortType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
